package animal;

/*
 *  user:38917
 *  date:2025/5/5
 *  time:15:32
 */

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();
        //dog.demo();
        dog.demo2();
    }

    public static void main1(String[] args) {
        Dog dog = new Dog("父类的名字",
                "子类的名字");
    }
}
